﻿@using BBICMS.Infrastructure

<!DOCTYPE html>
<!--[if lt IE 7]>      <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]>         <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]>         <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
 <!--<![endif]-->
<head>

    <meta charset="utf-8" />
    <title>@ViewBag.Title - @Texts.SiteName</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit" />

    @RenderSection("header", required: false)
    <link href="~/Content/Public/bootstrap/bootstrap.min.css" rel="stylesheet" />
    <link href="~/Content/Public/css/Main.min.css" rel="stylesheet" />
    <link href="~/Content/Public/iconfont/iconfont.css" rel="stylesheet" />

    @RenderSection("styles", required: false)


    <!--[if lt IE 9]>
        <script src="/Scripts/compatibility/html5shiv.min.js"></script>
        <script src="/Scripts/compatibility/respond.min.js"></script>
    <![endif]-->


</head>
<body>

    @using (Html.BeginForm("LogOff", "Account", new { area = "" }, FormMethod.Post, new { id = "logoutForm" }))
    {
        @Html.AntiForgeryToken()

    }
    <div class="bbi-page-header">
        <div class="container logomenu-container">
            <a href="@Url.Action("Index", "Home")" class="logo">
                <img src="@Url.Content("~/Content/Public/img/logo.png")" alt="@SettingsManager.Site.SiteName" />
            </a>
            @{
                var culture = System.Threading.Thread.CurrentThread.CurrentUICulture.Name.ToLowerInvariant();

            }
            @helper selected(string c, string culture)
            {
                if (c == culture)
                {
                    @:class="active"
                }
            }

            <div class="langs">
                @using (Html.BeginForm("SetCulture", "Home"))
                {
                   
                        <a href="#" @selected("zh-cn", culture) data-value="zh-cn"><img src="~/Content/Public/img/lang/cn.png" /></a>
                        <a href="#" @selected("en-us", culture) data-value="en-us"><img src="~/Content/Public/img/lang/en.png" /></a>                      
                        <input type="hidden" name="culture" id="culture" value="@culture" />
              
                }
            </div>
            <div class="menu">
                <ul>
                    <li>
                        <a href="@Url.Action("Index", "Home")">@Menu.Home</a>
                    </li>
                    <li>
                        @*<a href="@Url.RouteUrl("PageRoute",new { seoName = "about_us"})">@Menu.About</a>*@
                        <a href="@Url.Action("Index","About")">@Menu.About</a>
                    </li>
                    <li>
                        <a href="@Url.Action("Index", "Products")">@Menu.Product</a>
                    </li>
                    <li>
                        <a href="@Url.Action("Index", "Services")">@Menu.ServicesAndSupport</a>
                    </li>              
                    <li>
                        <a href="@Url.Action("Index", "News")">@Menu.News</a>
                    </li>
                    <li>
                        <a href="@Url.Action("Index", "Contact")">@Menu.ContactUs</a>
                    </li>
                </ul>
            </div>
           

      
        </div>

    </div>
   
    @RenderSection("featured", required: false)
            
    
        @RenderBody()
   
        <!-- footer start   ================================================== -->
    <div class="page-footer" id="page-footer">
        <div class="container">
            <div class="row">
                <div class="col-sm-6">
                    <div class="logo">
                        <a href="@SettingsManager.Site.SiteDomainName">
                            <img src="~/Content/Public/img/logo_bot.png" alt="@SettingsManager.Site.SiteName" />
                        </a>
                    </div>
                    <p class="copyright">&copy; careplus, inc. all rights reserved</p>
                </div>
                <div class="col-sm-6">
                    <p class="contact">
                        @Labels.Address @Labels.CompayAddress  |  @Labels.Telephone @SettingsManager.Contact.Phone
                        <br />
                        @Labels.Fax @SettingsManager.Contact.Fax  |  @Labels.EmailLabel @SettingsManager.Contact.MailTo
                    </p>         
                </div>
            
            </div>
        </div>      
    </div>

        <!-- /footer section end-->

    @RenderSection("breakout", required: false)

    <!-- The Scripts -->
    <!--[if lte IE 8]>
    @Scripts.Render("~/bundles/jqueryForIE")
    <![endif]-->
    <!--[if gte IE 9]><!-->
    @Scripts.Render("~/bundles/jquery")
    <!--<![endif]-->

    @Scripts.Render("~/bundles/site")
    @*
    <script src="/Scripts/app/validationUtility.js"></script>*@
    @* <script src="/Scripts/app/offlineUtility.js"></script>*@
    @*<script src="/Scripts/lib/common.js" ></script>
        <script src="/Scripts/lib/plugins.js"></script>*@

    @RenderSection("scripts", required: false)
    
      
    <script type="text/javascript">
        var baiduId = '@BBICMS.Infrastructure.Helpers.Settings.BaiduSiteID';
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F" + baiduId + "' type='text/javascript'%3E%3C/script%3E"));
   
    </script>


</body>
</html>
